#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "dominion.h"
#include "interface.h"
#include "rngs.h"

int testzzzVilliageCardPlay(int currentPlayer, int handPos, struct gameState* state)
{
	int cardtemp1 = 0;
	int cardtemp2 = 0;

	cardtemp1 = numHandCard(state);
	actions1 = state->numActions;
	zzzvillagercardplay(currentPlayer, handPos, state);
	cardtemp2 = numHandCard(state);
	actions2 = state->numActions;


	if( (cardtemp1-1) != cardtemp2)
	{
		printf("The number of cards did not add up correctly.\n");
		return 1;
	}

	if( (actions1 + 1) != (actions2))
	{
		printf("The number of actions did not match.\n");
		return 1;
	}
	return 0;
}

int main(int argc, char *argv[])
{
	struct gameState myGame;
	int kingdomCards[10];
	initializeGame(2, kingdomCards, 1,myGame);
	state->hand[gameState->whoseTurn][0] = curse;
	testzzzVilliageCardPlay(myGame->whoseTurn,0, myGame );
}